package com.a01_2021.thousandstimes.saas.service;

import com.a01_2021.thousandstimes.exception.CustomException;
import com.a01_2021.thousandstimes.saas.entity.Authorization;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author FRQ
 * @since 2021-02-22
 */
public interface AuthorizationService extends IService<Authorization> {

    public Authorization getAuthorizedFromUserId(long userId) throws CustomException;

    public Authorization authorization(long userId) throws CustomException;
}
